//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import common.GlobalID;

public class PeoplesEntry implements IUnlockLevel, IGlobalIDName {
  private final String Name;
  private final Integer WalkSpeed;
  private final Integer IdleTime;
  private final Integer UnlockLevel;
  private int instanceId;

  public PeoplesEntry(String Name, Integer WalkSpeed, Integer IdleTime, Integer UnlockLevel) {
    this.Name = Name;
    this.WalkSpeed = WalkSpeed;
    this.IdleTime = IdleTime;
    this.UnlockLevel = UnlockLevel;
  }

  public String getName() {
    return this.Name;
  }

  public Integer getWaklSpeed() {
    return this.WalkSpeed;
  }

  public Integer getIdleTime() {
    return this.IdleTime;
  }

  public Integer getUnlockLevel() {
    return this.UnlockLevel;
  }

  public void setInstance(int instance) {
    this.instanceId = instance;
  }

  public int getGlobalID() {
    return GlobalID.create(49, this.instanceId);
  }

  public String toString() {
    return this.Name + ", " + this.WalkSpeed + ", " + this.IdleTime;
  }

  public Integer getGlobalID(Integer objectClass) {
    return Integer.valueOf(GlobalID.create(objectClass.intValue(), this.instanceId));
  }
}
